import request from '@/utils/request'

export default {
  getList: (data) => {
    return request({
      url: '/admin/queryWikiAuthorPage',
      method: 'post',
      data: data
    })
  },
  add: (data) => {
    return request({
      url: '/admin/wikiAuthorAdd',
      method: 'post',
      data: data
    })
  },
  update:(data) => {
    return request({
      url: '/admin/wikiAuthorUpdate',
      method: 'post',
      data: data
    })
  },
  // delete: (data) => {
  //   return request({
  //     url: '/admin/wikiTypeDelete',
  //     method: 'post',
  //     data: data
  //   })
  // },
}
